package com.zhuoyue.biz.core.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhuoyue.biz.core.api.domain.SceneControllerBindingDO;
import com.zhuoyue.common.dto.BaseResultDTO;

import java.util.List;

/**
 * @author Administrator
 */
public interface SceneControllerBindingService extends IService<SceneControllerBindingDO> {

	/**
	 * 查询场景面板的场景绑定列表
	 * @param deviceId
	 * @return
	 */
	public List<SceneControllerBindingDO> getSceneControllerBindingListByDeviceId(String deviceId);

	/**
	 * 新增场景面板绑定信息
	 * @param scb
	 * @return
	 */
	public SceneControllerBindingDO addSceneControllerBinding(SceneControllerBindingDO scb);

	/**
	 * 删除场景面板绑定信息
	 * @param id
	 * @return
	 */
	public BaseResultDTO deleteSceneControllerBindingById(String id);

}
